package com.alibaba.Day05;

public class Number {
    private int n1;
    private int n2;

    public Number(){

    }
    public Number(int n1,int n2){
        this.n1 = n1;
        this.n2 = n2;
    }

    public int getN1() {
        return n1;
    }

    public void setN1(int n1) {
        this.n1 = n1;
    }

    public int getN2() {
        return n2;
    }

    public void setN2(int n2) {
        this.n2 = n2;
    }

    public int add(){
        return (n1 + n2);
    }

    public int sub(){
        return (n1 - n2);
    }
    public int mul(){
        return (n1 * n2);
    }

    public int div(){
        return (n1 / n2);
    }
}
